DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanGroup Method / CanGroup<T>(IDataCollection<T>,String) Method
The data collection.
The path of the data item to which the group would be applied.

In This Topic
    CanGroup<T>(IDataCollection<T>,String) Method
    In This Topic
    Returns true if the data collection supports sorting.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CanGroup(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal groupPath As String _
    ) As Boolean
    public static bool CanGroup<T>( 
       IDataCollection<T> dataCollection,
       string groupPath
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    groupPath
    The path of the data item to which the group would be applied.

    Type Parameters

    T
    See Also